Hi,
I had a question. I am currently trying to create a way to export objects from DOORS, but i want to make the objects which had been deleted export in red, or another color, to show that they were deleted. Is there a way to do this? Like maybe a "deleted" attribute or something of that sort?
Thanks!
josiah820 - Mon Dec 17 10:33:33 EST 2012 |
|
Re: Deleted Export llandale - Mon Dec 17 15:14:10 EST 2012
Never tried it.
You could add an enumerated DXL-Attribute "IsDeleted" with two enumerations, "Deleted" and "". Associate "Red" with "Deleted". The Attr-DXL code is trivial:
-
if (isDeleted(obj)) //
-
then obj."IsDeleted" = "Deleted"
-
else obj."IsDeleted" = ""
I think then you can modify the properties of the "main" column to have color based on attribute "IsDeleted". I wonder if that will export.
-Louie
|
|
Re: Deleted Export josiah820 - Mon Dec 17 15:21:25 EST 2012 llandale - Mon Dec 17 15:14:10 EST 2012
Never tried it.
You could add an enumerated DXL-Attribute "IsDeleted" with two enumerations, "Deleted" and "". Associate "Red" with "Deleted". The Attr-DXL code is trivial:
-
if (isDeleted(obj)) //
-
then obj."IsDeleted" = "Deleted"
-
else obj."IsDeleted" = ""
I think then you can modify the properties of the "main" column to have color based on attribute "IsDeleted". I wonder if that will export.
-Louie
Good idea! I forgot about that! I'll play around with it and see what I can do. Thanks for your help!
|
|
Re: Deleted Export josiah820 - Mon Dec 17 15:46:38 EST 2012 josiah820 - Mon Dec 17 15:21:25 EST 2012
Good idea! I forgot about that! I'll play around with it and see what I can do. Thanks for your help!
Oh, I forgot. Is there any way to make the deleted objects visible using DXL? I know there's an option in a menu, but I'm trying to streamline it, so is there a DXL command that will make the deleted objects viewable?
Thanks!
|
|
Re: Deleted Export mcnairk - Mon Dec 17 15:53:32 EST 2012 josiah820 - Mon Dec 17 15:46:38 EST 2012
Oh, I forgot. Is there any way to make the deleted objects visible using DXL? I know there's an option in a menu, but I'm trying to streamline it, so is there a DXL command that will make the deleted objects viewable?
Thanks!
showDeletedObjects false
Ken.
|
|
Re: Deleted Export mcnairk - Mon Dec 17 15:54:09 EST 2012 mcnairk - Mon Dec 17 15:53:32 EST 2012
showDeletedObjects false
Ken.
Duuh:
showDeletedObjects true
|
|
Re: Deleted Export SystemAdmin - Mon Dec 17 16:07:23 EST 2012 josiah820 - Mon Dec 17 15:46:38 EST 2012
Oh, I forgot. Is there any way to make the deleted objects visible using DXL? I know there's an option in a menu, but I'm trying to streamline it, so is there a DXL command that will make the deleted objects viewable?
Thanks!
Not sure if you're trying to export to MS Word or maybe MS Excel, but if it's MS Excel then maybe have a look at Michael Sutherland's "Enhanced Export to Excel" DXL script which you can download from http://www.galactic-solutions.com/GalacticDownloads.htm.
This has an option to add color to deleted objects amongst many other excellent export options to MS Excel. It's open code so you can modify to suit.
Paul Miller,
Melbourne, Australia
|
|
Re: Deleted Export llandale - Mon Dec 17 17:36:58 EST 2012 mcnairk - Mon Dec 17 15:54:09 EST 2012
Duuh:
showDeletedObjects true
Do not do this in a layout or attr-DXL.
|
|
Re: Deleted Export Peter_Albert - Tue Dec 18 03:45:58 EST 2012 llandale - Mon Dec 17 15:14:10 EST 2012
Never tried it.
You could add an enumerated DXL-Attribute "IsDeleted" with two enumerations, "Deleted" and "". Associate "Red" with "Deleted". The Attr-DXL code is trivial:
-
if (isDeleted(obj)) //
-
then obj."IsDeleted" = "Deleted"
-
else obj."IsDeleted" = ""
I think then you can modify the properties of the "main" column to have color based on attribute "IsDeleted". I wonder if that will export.
-Louie
Alternatively, if exporting to MS Word, you could probably set the "Paragraph Style" of the deleted Objects to a specific style which has to be defined in the template.
Regards,
Peter
|
|
Re: Deleted Export josiah820 - Tue Dec 18 16:14:17 EST 2012 SystemAdmin - Mon Dec 17 16:07:23 EST 2012
Not sure if you're trying to export to MS Word or maybe MS Excel, but if it's MS Excel then maybe have a look at Michael Sutherland's "Enhanced Export to Excel" DXL script which you can download from http://www.galactic-solutions.com/GalacticDownloads.htm.
This has an option to add color to deleted objects amongst many other excellent export options to MS Excel. It's open code so you can modify to suit.
Paul Miller,
Melbourne, Australia
That Enhanced Export to Excel was exactly what I needed. Thanks!
|
|